javax.realtime
Class MITViolationException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byjavax.realtime.MITViolationException
All Implemented Interfaces:
java.io.Serializable

public class MITViolationException
extends java.lang.RuntimeException

Thrown by the fire method of an instance of AsyncEvent when on a minimum interarrival time violation. More specifically, it is thrown when:

  • any instance of AsyncEventHandler associated with the AsyncEvent has ReleaseParameters from the class SporadicParameters
  • The MIT violation behavior for the async event handler is mitViolationExcept
  • The invocation of fire violates the minimum interarrival time constraint.

    See Also:
    Serialized Form

    Field Summary
     
    Fields inherited from class java.lang.RuntimeException
     
    Constructor Summary
    MITViolationException()
              A constructor for MITViolationException.
    MITViolationException(java.lang.String description)
              A descriptive constructor for MITViolationException.
     
    Methods inherited from class java.lang.Throwable
    fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
     
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
     

    Constructor Detail

    MITViolationException

    public MITViolationException()
    A constructor for MITViolationException.


    MITViolationException

    public MITViolationException(java.lang.String description)
    A descriptive constructor for MITViolationException.

    Parameters:
    description - Description of the error.